package com.readpost.doman.Entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
//文章图片
public class ArticleImages {

    //文章图片ID
    private int imageId;

    //文章ID
    private int articleId;

    //图片URL
    private String imageUrl;

    //图片描述
    private String caption;

    //是否封面
    private boolean isCover;

    //图片位置
    private  int position;

    //创建时间
    private LocalDateTime createdAt;



}
